<%-- 
  -- Body New Response para Pay.
  --
  -- @author nicolas.gonzalez
--%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html-el-1.2.8.tld" prefix="html-el"%>
<%@ taglib uri="/WEB-INF/struts-logic-el-1.2.8.tld" prefix="logic-el"%>
<%@ taglib uri="/WEB-INF/security.tld" prefix="security" %>

<%@ taglib uri="http://struts.apache.org/tags-bean-el" prefix="bean2"%>

<script src="<html:rewrite page='/protected/script/util.js'/>" type="text/javascript"></script>

<%-- Para EXT --%>
<link rel="stylesheet" type="text/css" href="<html:rewrite page='/protected/script/ext-1.1.1/resources/css/ext-all.css'/>" />
<script src="<html:rewrite page='/protected/script/ext-1.1.1/adapter/ext/ext-base.js'/>" type="text/javascript"></script>
<script src="<html:rewrite page='/protected/script/ext-1.1.1/ext-all.js'/>" type="text/javascript"></script>


<div class="errors">
    <html:errors />
</div>


<script type="text/javascript">
    // Decora los titles de HTML. Lo hace mas lindo, pero mas pesado...
    Ext.QuickTips.interceptTitles = true;
    Ext.QuickTips.init();
</script>

<%-- El ID del form NO debe ser modificado. Se usa desde el menu --%>
<html:form action="/protected/preparePay" styleId="payFormId">

    <h2>Pago Realizado</h2>
    
    <div class="payEdit">
        <table class="tableDataCollect" cellspacing="0">
            <tr>
                <td class="tableDataTitle">
                    Docente
                </td>
                <td class="tableDataValue">
                    <html:text property="teacherName" readonly="true" size="50" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Curso
                </td>
                <td class="tableDataValue">
                    <html:text property="honoraryCourseInfo" readonly="true" size="40" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Vigencia desde
                </td>
                <td class="tableDataValue">
                    <html:text property="honoraryDate" readonly="true" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Importe
                </td>
                <td class="tableDataValue">
                    <html:text property="honoraryValue" styleId="honoraryValueId" readonly="true" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Valor a pagar
                </td>
                <td class="tableDataValue">
                    <html:text property="value" styleId="valueId" readonly="true" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Tipo de cobro
                </td>
                <td class="tableDataValue">
                    <html:text property="collectTypeSelected" readonly="true" />
                </td>            
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Codigo
                </td>
                <td class="tableDataValue">
                    <html:text property="code" styleId="codeId" readonly="true" />
                </td>            
            </tr>
            <tr>
                <td class="tableDataTitle">
                    Motivo/Desc
                </td>
                <td class="tableDataValue">
                    <html:text property="reason" styleId="reasonId" readonly="true" />
                </td>            
            </tr>
        </table>
        
        <div id="clear">
        </div>
        <div id="clear">
        </div>
    
    </div>

</html:form>